package com.sq.ai.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author Li sir
 * @Date 2024/11/18
 */
@Data
@Component
@ConfigurationProperties(prefix = "sip.server")
public class SipServerConfig {

    private String sipurl;

    private String sipport;

    private String createStream;


    public String getUrl(String url){
        return "http://"+sipurl+":"+sipport + url;
    }

}
